home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xml;
-
- import com.extensibility.plugin.PluginRegistry;
- import com.extensibility.plugin.api.URIScheme;
-
- public class URIxschemaScheme extends URIDelegateScheme {
- public static void registerPlugin(PluginRegistry var0) {
- var0.registerPlugin("URIScheme10", Class.forName("com.extensibility.xml.URIxschemaScheme"), "URIxschemaScheme", 65537);
- }
-
- public URIxschemaScheme() {
- }
-
- public URIxschemaScheme(URIScheme var1, URIScheme.Manager var2) {
- super(var1, var2);
- }
-
- public void registerSchemes(URIScheme.Manager var1) {
- super.manager = var1;
- var1.registerScheme("x-schema", (Class)null, this);
- }
-
- public URIScheme construct(String var1, String var2) {
- URIScheme var3 = null;
- int var4 = var2.indexOf(58, 9);
- if (var4 > 0) {
- String var5 = var2.substring(9, var4);
- var3 = super.manager.makeURIScheme(var5, var2.substring(9));
- }
-
- return var3;
- }
-
- public URIScheme construct(String var1) {
- return this.construct((String)null, var1);
- }
-
- public URIScheme construct(URIScheme var1) {
- return new URIxschemaScheme(var1, super.manager);
- }
-
- public String getFullPath() {
- return String.valueOf("x-schema:").concat(String.valueOf(super.delegateScheme.getFullPath()));
- }
- }
-